function createGame(width, height) {
	var socket = io.connect(SERVER_URL)
	socket.emit('startGame', width, height);
	return {
			on : function(eventName, fn){
				socket.on(eventName, fn);
			},
			touch : function(coords){
				socket.emit('touch', coords);
			},
			slam : function(coords) {
				socket.emit('slam', coords); 
			},
			flag : function(coords) {
				socket.emit('flag', coords);	   
			}
		}

}
